{% extends "admin/delete_confirmation.html" %}

{% load admin_static i18n %}

{% block extrastyle %}
    {{ block.super }}
    <style>
        .data {
            display: inline-block;
            float: left;
            width: 80%;
        }
    </style>
    <link href="{% static 'admin/css/forms.css' %}" type="text/css" rel="stylesheet">
{% endblock %}

{% block breadcrumbs %}
    <div class="breadcrumbs">
        <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> &rsaquo;
        <a href="{% url 'rq_home' %}">{% trans 'Django RQ' %}</a> &rsaquo;
        <a href = "{% url 'rq_jobs' queue_index %}">{{ queue.name }}</a> &rsaquo;
        <a href = "{% url 'rq_job_detail' queue_index job.id %}">{{ job.id }}</a> &rsaquo;
        Delete
    </div>
{% endblock %}

{% block content_title %}<h1>{% trans 'Are you sure?' %}</h1>{% endblock %}

{% block content %}

<div id="content-main">
    <p>
        {% blocktrans with job_id=job.id queue_name=queue.name %}Are you sure you want to delete {{ job_id }} from {{ queue_name }}?
        This action can not be undone.{% endblocktrans %}
    </p>
    <form action="" method="post">
        {% csrf_token %}
        <div>
            <input type="submit" value="{% trans "Yes, I'm sure" %}" />
        </div>
    </form>
</div>

{% endblock %}
